ExamPlay Light Logo
Se connecter

Computer Science for IGCSE & O level - Algorithm Design And Problem Solving (Section 7 - No. 35)

What is the purpose of the 'COUNT' variable in many algorithms (like in the counting example)?
To calculate the sum of a set of numbers.
To keep track of the number of items.
To store the largest item.
To sort the data.

Explication

The 'COUNT' variable is used to count the number of occurrences or items.

Commentaires (0)

Connectez-vous pour commenter
Publicité
BrainBehindX Inc Logo
©2026; Alimenté par BrainBehindX Inc